package com.recharge.common.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * redis 二级缓存 更新和删除注解
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RedisCachePut {

    String group() default "";

    String key() default "";

    boolean isDel() default false;

    long expire() default 3600;
}
